home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
comm
/
fido
/
jm950618.lha
/
docs
/
jamsched.doc
< prev
next >
Wrap
Text File
|
1995-06-09
|
5KB
|
129 lines
-==* JamSched 0.40 *==-
By James McOrmond
June 9, 1995
Note: Contact addresses, and the Changelog are at the end of this file.
This is essentially the new "version" of JamTool. The last remaining
functions of JamTool being used by JamMail are now in this program.
Since it is no longer a general purpose "Tool", and only has Scheduler
functions remaining, I thought a rename was due.
This is primarily a cleanup release. Some previous versions of JamTool
had a few problems in different areas. I'm hoping that this one solves
them, and is still "smooth" in operation.
-----------------------------------------------------------------------
JamSched is a utility that WPL based mailer authors can use for a basic
call scheduler. It has three relatively advanced features.
1) It supports the MINPRI and MAXPRI environment variables for
selecting which priorities of mail (as listed in Xferq.library)
are allowed to be sent during this time.
2) It counts the number of BUSY, CONNECT, MAID and other types of
responses that come back from the modem (as configured in the WPL
mailer) and will cause the scheduler scanning routine to dial the
site less often when BUSY and NO CARRIER responses occur.
3) It will schedule calls for UUCP type mail transfers if told to do
so, and there is outbound bundles waiting in UUSPOOL: for any
site correctly listed in the L.sys file (specifically must have
ANY in the dial time field).
----------------------------------------------------------------------
JamSched is part of the JamMail network mailer frontend system.
If you are a JamMail user, this documentation really is of no use to
you, but is included in the archive for completeness.
----------------------------------------------------------------------
Dialing Response Code: (-r)
This function takes two options, the first one being the systems address
and the second being the response type as returned from the modem after
a dial ("CONNECT", "BUSY", "MAID", etc).
The following WPL code is used in JamMail for this function.
RexxMsg SY REXX "Address 'COMMAND' 'JamSched -r $(Remote.Address) $(event)'"
This code is immediately after the GetResponse command after an outbound
Dial command.
Caveats: This function is not used for counting failed sessions. It
assumes that if you can connect to the site, the session (whatever type
of session this is) will succeed.
------
Scheduler: (-s) option
This function scans XferQ.library for systems with outbound mail of at
least priority 50 (crash) (or the number stored in the ENV: variable
"minpri"), and scans the UUSPOOL: directory for C.#? files to go to
sites listed in your UULIB:l.sys file and creates a list of environment
variables with the sites to call.
$(JamSched/todial) the number of sites to dial
$(JamSched/todial-1) site number 1 to dial
$(JamSched/todial-2) site number 2 to dial
etc..
The Scheduler built into versions of JamMail higher than .96 all use
this function.
As of JamTool 0.23 this scheduler now counts the number of busy signals
and failed connections (via the -r option above), and will dial less
often if you still have not connected to this system. The following
function is used to determine the number of "loops" through the
scheduler will be waited until the next dial for this system.
towait = (((bad*3)+busy) / 10)
Each bad connect is equivalent to 3 busy signals. After each 15 busy
signals, the system will up the number of loops that it must wait
before dialing the system again.
-----------------------------------------------------------------------
If you need to contact me, these are some of my Addresses.
FidoNet#1:163/139.0 AKA FidoNet#1:1/139.0
ZyXELNET#18:163/139.0
AmigaNet#40:553/139.0
InterNet: jam@jammys.net
ab207@Freenet.Carleton.Ca
The fidonet JAMMAIL echo is likely a good "public" way to get ahold of
me. I often read some of the UseNet newsgroups like
comp.sys.amiga.datacomm, but I may miss messages in there, so Email
would be better in that case.
Current versions of JamSched are always available by dialing my system
1:163/139 (613)230-8720, typing "grab", and then typing "JamSched".
JamSched is included in the JamMail archive, so if you are using JamMail
you do not need to grab this archive seperately.
-----------------------------------------------------------------------
0.40 - Complete re-write of a number of functions. I started from the 0.29
sources, so the changes that happened between 0.29 and 0.35 were not
included.
-r option only needs one address argument
lower variable usage, saves over 2k.